CagdMakeSrfsCompatible

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

CagdMakeSrfsCompatible()  

SYNOPSIS

cagd_lib/cagdcmpt.c:185

CagdBType CagdMakeSrfsCompatible(CagdSrfStruct **Srf1,
                                 CagdSrfStruct **Srf2,
                                 CagdBType SameUOrder,
                                 CagdBType SameVOrder,
                                 CagdBType SameUKV,
                                 CagdBType SameVKV)
 

DESCRIPTION

Given two surfaces, makes them compatible by:
 1. Coercing their point type to be the same.
 2. Making them have the same curve type.
 3. Raising the degree of the lower one to be the same as the higher.
 4. Refining them to a common knot vector (If Bspline and SameOrder).

Note 3 is performed if SameOrder TRUE, 4 if SameKV TRUE. Both surface are modified IN PLACE.  

PARAMETERS:

Srf1, Srf2: Two surfaces to be made compatible, in place.

SameUOrder: If TRUE, this routine make sure they share the same U order.

SameVOrder: If TRUE, this routine make sure they share the same order.

SameUKV: If TRUE, this routine make sure they share the same U knot vector and hence continuity. *

SameVKV: If TRUE, this routine make sure they share the same knot vector and hence continuity.  

FUNCTION RETURN VALUE

CagdBType: TRUE if successful, FALSE otherwise.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:17 GMT, October 17, 2022